package zhupf.test.designPattern.factory.absfactory;

public abstract class Pizza {

    protected String name;

    protected abstract void preper();

    public void bake(){
        System.out.println(name + "baking");
    }

    public void cut(){
        System.out.println(name+"cuting");
    }

    public void box(){
        System.out.println(name+"boxing");
    }

    public void setName(String name) {
        this.name = name;
    }
}
